using System;
using SheLife.Domain.Common;

namespace SheLife.Domain.Entities
{
    /// <summary>
    /// 社区帖子举报实体类
    /// </summary>
    public class CommunityPostReport : BaseEntity
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public Guid UserId { get; set; }

        /// <summary>
        /// 帖子ID
        /// </summary>
        public Guid PostId { get; set; }

        /// <summary>
        /// 举报类型
        /// </summary>
        public string ReportType { get; set; }

        /// <summary>
        /// 举报原因
        /// </summary>
        public string Reason { get; set; }

        /// <summary>
        /// 举报详情
        /// </summary>
        public string Details { get; set; }

        /// <summary>
        /// 举报状态
        /// </summary>
        public string Status { get; set; }

        /// <summary>
        /// 处理人ID
        /// </summary>
        public Guid? HandledBy { get; set; }

        /// <summary>
        /// 处理时间
        /// </summary>
        public DateTime? HandledTime { get; set; }

        /// <summary>
        /// 处理结果
        /// </summary>
        public string HandleResult { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public Guid CreatedBy { get; set; }

        /// <summary>
        /// 更新人ID
        /// </summary>
        public Guid? UpdatedBy { get; set; }

        // 导航属性
        public SystemUser User { get; set; }
        public CommunityPost Post { get; set; }
        public SystemUser Handler { get; set; }
    }
}